.dialog {
  display: flex;
  margin-top: 20px;
  margin-bottom: 10px;

  .messageTemplate {
    margin-top: 6px;
    width: 100%;
    overflow: auto;
  }
}

.dialog-left {
  justify-content: flex-start;
  margin-left: 10px;
}

.dialog-right {
  justify-content: flex-end;
  margin-right: 10px;
}

.dialog .info {
  display: flex;
  flex-direction: column;
}

.dialog-left .info {
  margin-left: 10px;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1;
  overflow: hidden;
}

.dialog-right .info {
  margin-right: 10px;
  justify-content: flex-end;
  align-items: flex-end;
}

.dialog-right .name {
  text-align: right;
}

.dialog-right .time {
  text-align: right;
}

.dialog-right .message {
  background-color: #d7e4fd !important;
}

.dialog .name {
  color: #838383;
}

.dialog .avatar {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background-color: #fff;
  flex-shrink: 0;
  overflow: hidden;

  .logo{
    width: 100%;
  }
}

.dialog .message {
  max-width: 60vw;
  line-height: 1.5;
  text-align: justify;
  margin-top: 6px;
  padding: 10px;
  background-color: #eceff7;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  word-break: break-all;
}

.dialog .message img {
  width: 1.5em;
  margin: 0 3px;
  vertical-align: middle;
}

.dialog .message audio {
  width: 60vw;
}

.dialog .time {
  margin-top: 6px;
  color: #838383;
  font-size: 10px;
}
